<div data-page="<{$pageName}>" class="page my_subject">
    <div class="page-content">
        <include file="Public:user_header" />
        <div class="container text wap-margin-0 wap-padding-0" style="background:#fff;margin-top:20px; min-height: 300px;">
            <div class="row mg0">
                <div class="col-md-8 wap-margin-0 wap-padding-0">
                    <!--我的课程部分-->
                    <div class="span10 border wap-border-0" id="my_subject" style="border-bottom: 1px solid #EBECEB;">
                        <div class="tab_warp swiperTap">
                            <ul class="tab_list unstyled">
                                <li class="active"> <a href="#learningCourse" data-toggle="tab">进行中的班级</a> </li>
                                <li> <a href="#overCourse" data-toggle="tab">已毕业的班级</a> </li>
                            </ul>
                        </div>
                        <div class="class-list tab-content swiperContent">
                            <div class="tab-pane active tabPane" id="learningCourse">
                                <{:Widget( 'BoxEdu/Index/my_subject', "learning")}>
                            </div>
                            <div class="tab-pane tabPane" id="overCourse">
                                <{:Widget( 'BoxEdu/Index/my_subject', "over")}>
                            </div>
                        </div>
                    </div>
                    <!--我的课程部分-->
                    <div class="span10  wap-col hide_content mgt20" id="timeline">
                        <div class="sortlist clearfix">
                            <h1>校园动态</h1>
                        </div>
                        <{:Widget( 'BoxEdu/Index/timeline',array( 'where'=>array('public'=>1)))}> </div>
                </div>
                <div class="col-md-4 hide_content">
                    <{:ADGroup( 'Index_my_subject')}>
                </div>
            </div>
        </div>
    </div>
    <include file="Public:footer" />
    <script>
    $(function() {
        var id = "<{:I('show')}>";
        if (id) {
            $(".hide_content").hide();
            $("#my_subject").hide();
            //$(".top-banner").hide();
            $("#" + id).parents(".hide_content").show();
            $("#" + id).show();
        }
    })
    </script>
</div>
